package com.tinyseed.emcp.api.maintenance.domain.query;

import com.tinyseed.hmxx.common.annotation.Query;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

@Data
public class MaintenanceInfoQueryCriteria implements Serializable {

    @Query
    private Long id;

    @Query(type = Query.Type.GREATER_THAN, propName = "createTime")
    private Timestamp startTime;

    @Query(type = Query.Type.LESS_THAN, propName = "createTime")
    private Timestamp endTime;

    private String organizeId;

    @Query(type = Query.Type.INNER_LIKE,propName = "enterpriseName",joinName = "enterprise")
    private String enterpriseName;

    @Query(type = Query.Type.IN,propName = "organizeName",joinName = "enterprise")
    private List<String> organizeName;




}
